package com.yike.user.service;

import com.yike.user.entity.AgentShop;
import com.yike.user.param.AgentShopPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;

/**
 * 代理商店铺表 服务类
 *
 * @author Sakura
 * @since 2024-08-26
 */
public interface AgentShopService extends BaseService<AgentShop> {

    /**
     * 保存
     *
     * @param agentShop
     * @return
     * @throws Exception
     */
    boolean saveAgentShop(AgentShop agentShop) throws Exception;

    /**
     * 修改
     *
     * @param agentShop
     * @return
     * @throws Exception
     */
    boolean updateAgentShop(AgentShop agentShop) throws Exception;

    /**
     * 删除
     *
     * @param id
     * @return
     * @throws Exception
     */
    boolean deleteAgentShop(Long id) throws Exception;


    /**
     * 获取分页对象
     *
     * @param agentShopPageParam
     * @return
     * @throws Exception
     */
    Paging<AgentShop> getAgentShopPageList(AgentShopPageParam agentShopPageParam) throws Exception;

}
